<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>举报管理 - 社交平台</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --danger: #ef4444;
            --danger-light: #fee2e2;
            --warning: #f59e0b;
            --warning-light: #fef3c7;
            --success: #10b981;
            --success-light: #dcfce7;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #94a3b8;
            --border: #e2e8f0;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        }
        
        .navbar {
            box-shadow: var(--shadow);
            background-color: white;
        }
        
        .main-container {
            display: flex;
            min-height: calc(100vh - 56px);
        }
        
        .sidebar {
            width: 260px;
            background-color: white;
            border-right: 1px solid var(--border);
            padding: 1.5rem 1rem;
            flex-shrink: 0;
        }
        
        .content {
            flex-grow: 1;
            padding: 2rem;
        }
        
        .section-title {
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .filter-section {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: var(--shadow);
            padding: 1.25rem;
            margin-bottom: 1.5rem;
        }
        
        .filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .filter-group {
            flex: 1;
            min-width: 200px;
        }
        
        .filter-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        .filter-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            padding-top: 0.5rem;
            border-top: 1px solid var(--border);
        }
        
        .report-list {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: var(--shadow);
            overflow: hidden;
        }
        
        .report-item {
            display: flex;
            align-items: center;
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
            transition: background-color 0.2s;
        }
        
        .report-item:hover {
            background-color: var(--primary-light);
        }
        
        .report-item:last-child {
            border-bottom: none;
        }
        
        .report-checkbox {
            margin-right: 1rem;
        }
        
        .report-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 1rem;
        }
        
        .report-info {
            flex-grow: 1;
        }
        
        .report-header {
            display: flex;
            align-items: center;
            margin-bottom: 0.25rem;
        }
        
        .report-title {
            font-weight: 600;
            margin-right: 0.75rem;
        }
        
        .report-type {
            font-size: 0.75rem;
            padding: 0.15rem 0.6rem;
            border-radius: 999px;
            font-weight: 500;
        }
        
        .type-spam {
            background-color: var(--danger-light);
            color: var(--danger);
        }
        
        .type-inappropriate {
            background-color: var(--warning-light);
            color: #92400e;
        }
        
        .type-plagiarism {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        .type-harassment {
            background-color: #fce7f3;
            color: #be185d;
        }
        
        .type-fake {
            background-color: #e0e7ff;
            color: #3730a3;
        }
        
        .type-theft {
            background-color: #f3e8ff;
            color: #7e22ce;
        }
        
        .report-meta {
            display: flex;
            font-size: 0.85rem;
            color: var(--gray);
            margin-bottom: 0.25rem;
        }
        
        .report-meta span:not(:last-child)::after {
            content: "•";
            margin: 0 0.5rem;
        }
        
        .report-status {
            font-size: 0.85rem;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            font-weight: 500;
            margin-right: 1rem;
        }
        
        .status-pending {
            background-color: var(--warning-light);
            color: #92400e;
        }
        
        .status-processing {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        .status-resolved {
            background-color: var(--success-light);
            color: #059669;
        }
        
        .status-rejected {
            background-color: var(--danger-light);
            color: var(--danger);
        }
        
        .report-actions {
            display: flex;
            gap: 0.5rem;
        }
        
        .action-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            background-color: transparent;
            color: var(--gray);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .action-btn:hover {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        .sidebar-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .sidebar-menu li {
            margin-bottom: 0.25rem;
        }
        
        .sidebar-menu a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            color: var(--dark);
            text-decoration: none;
            transition: all 0.2s;
        }
        
        .sidebar-menu a:hover, .sidebar-menu a.active {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        .sidebar-menu i {
            width: 20px;
            text-align: center;
        }
        
        .sidebar-title {
            font-size: 0.85rem;
            text-transform: uppercase;
            color: var(--gray);
            margin: 1.5rem 0 0.75rem 1rem;
            letter-spacing: 0.5px;
        }
        
        .advanced-filter-toggle {
            color: var(--primary);
            background: none;
            border: none;
            padding: 0;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            cursor: pointer;
        }
        
        .advanced-filters {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px dashed var(--border);
            display: none;
        }
        
        .advanced-filters.show {
            display: block;
        }
        
        .search-box {
            position: relative;
        }
        
        .search-box input {
            padding-left: 2.5rem;
        }
        
        .search-box i {
            position: absolute;
            left: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }
        
        .badge-pill {
            background-color: var(--primary-light);
            color: var(--primary);
            font-size: 0.7rem;
            padding: 0.15rem 0.5rem;
        }
        
        @media (max-width: 992px) {
            .main-container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                border-right: none;
                border-bottom: 1px solid var(--border);
                padding: 1rem;
            }
            
            .sidebar-menu {
                display: flex;
                overflow-x: auto;
                padding-bottom: 0.5rem;
            }
            
            .sidebar-menu li {
                margin-bottom: 0;
                margin-right: 0.5rem;
            }
            
            .sidebar-menu a {
                padding: 0.5rem 1rem;
                white-space: nowrap;
            }
            
            .sidebar-title {
                display: none;
            }
            
            .report-item {
                flex-wrap: wrap;
            }
            
            .report-actions {
                margin-top: 0.75rem;
                width: 100%;
                justify-content: flex-end;
            }
        }
        
        @media (max-width: 576px) {
            .content {
                padding: 1rem;
            }
            
            .filter-row {
                flex-direction: column;
                gap: 0.75rem;
            }
            
            .report-meta {
                flex-wrap: wrap;
            }
            
            .report-meta span {
                margin-bottom: 0.25rem;
            }
            
            .report-status {
                margin-bottom: 0.75rem;
                width: 100%;
                text-align: center;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-light">
        <div class="container">
            <a class="navbar-brand" href="#">
                <i class="fas fa-shield-alt text-primary me-2"></i>社交平台
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">举报管理</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">安全中心</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">系统设置</a>
                    </li>
                </ul>
                <div class="d-flex align-items-center gap-3">
                    <div class="notification-icon position-relative">
                        <button class="btn btn-light p-1">
                            <i class="fas fa-bell"></i>
                            <span class="position-absolute top-0 right-0 w-2 h-2 bg-danger rounded-circle"></span>
                        </button>
                    </div>
                    <div class="dropdown">
                        <button class="btn btn-light p-0" type="button" data-bs-toggle="dropdown">
                            <img src="https://picsum.photos/100/100?random=200" alt="管理员头像" class="rounded-circle" style="width:36px;height:36px;">
                        </button>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li><a class="dropdown-item" href="#">个人中心</a></li>
                            <li><a class="dropdown-item" href="#">账号设置</a></li>
                            <li><a class="dropdown-item" href="#">退出登录</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </nav>
    
    <!-- 主要内容区 -->
    <div class="main-container">
        <!-- 侧边栏 -->
        <aside class="sidebar">
            <ul class="sidebar-menu">
                <li><a href="#"><i class="fas fa-tachometer-alt"></i> 数据概览</a></li>
                <li><a href="#" class="active"><i class="fas fa-flag"></i> 举报列表 <span class="badge badge-pill ms-auto">24</span></a></li>
                <li><a href="#"><i class="fas fa-history"></i> 处理记录</a></li>
                <li><a href="#"><i class="fas fa-cog"></i> 举报设置</a></li>
            </ul>
            
            <h3 class="sidebar-title">举报分类</h3>
            <ul class="sidebar-menu">
                <li><a href="#"><i class="fas fa-ban"></i> 垃圾信息 <span class="badge badge-pill ms-auto">8</span></a></li>
                <li><a href="#"><i class="fas fa-exclamation-triangle"></i> 不当内容 <span class="badge badge-pill ms-auto">5</span></a></li>
                <li><a href="#"><i class="fas fa-copy"></i> 抄袭内容 <span class="badge badge-pill ms-auto">3</span></a></li>
                <li><a href="#"><i class="fas fa-user-shield"></i> 骚扰行为 <span class="badge badge-pill ms-auto">4</span></a></li>
                <li><a href="#"><i class="fas fa-info-circle"></i> 虚假信息 <span class="badge badge-pill ms-auto">2</span></a></li>
                <li><a href="#"><i class="fas fa-user-secret"></i> 账号盗用 <span class="badge badge-pill ms-auto">2</span></a></li>
            </ul>
            
            <h3 class="sidebar-title">处理状态</h3>
            <ul class="sidebar-menu">
                <li><a href="#"><i class="fas fa-clock"></i> 待处理 <span class="badge badge-pill ms-auto">12</span></a></li>
                <li><a href="#"><i class="fas fa-sync-alt"></i> 处理中 <span class="badge badge-pill ms-auto">5</span></a></li>
                <li><a href="#"><i class="fas fa-check-circle"></i> 已解决 <span class="badge badge-pill ms-auto">6</span></a></li>
                <li><a href="#"><i class="fas fa-times-circle"></i> 已驳回 <span class="badge badge-pill ms-auto">1</span></a></li>
            </ul>
        </aside>
        
        <!-- 主内容 -->
        <main class="content">
            <div class="section-title">
                <h1 class="h5 mb-0">举报列表</h1>
                <button class="btn btn-sm btn-primary">
                    <i class="fas fa-plus me-1"></i> 新建举报
                </button>
            </div>
            
            <!-- 筛选区域 -->
            <div class="filter-section">
                <div class="filter-row">
                    <div class="filter-group search-box">
                        <label class="filter-label">关键词搜索</label>
                        <div class="input-group">
                            <i class="fas fa-search"></i>
                            <input type="text" class="form-control" placeholder="搜索举报内容、用户...">
                        </div>
                    </div>
                    
                    <div class="filter-group">
                        <label class="filter-label">举报类型</label>
                        <select class="form-select">
                            <option value="">全部类型</option>
                            <option value="spam">垃圾信息</option>
                            <option value="inappropriate">不当内容</option>
                            <option value="plagiarism">抄袭内容</option>
                            <option value="harassment">骚扰行为</option>
                            <option value="fake">虚假信息</option>
                            <option value="theft">账号盗用</option>
                        </select>
                    </div>
                    
                    <div class="filter-group">
                        <label class="filter-label">处理状态</label>
                        <select class="form-select">
                            <option value="">全部状态</option>
                            <option value="pending">待处理</option>
                            <option value="processing">处理中</option>
                            <option value="resolved">已解决</option>
                            <option value="rejected">已驳回</option>
                        </select>
                    </div>
                </div>
                
                <div class="filter-row">
                    <div class="filter-group">
                        <label class="filter-label">举报时间</label>
                        <div class="input-group">
                            <input type="date" class="form-control" placeholder="开始日期">
                            <span class="input-group-text">至</span>
                            <input type="date" class="form-control" placeholder="结束日期">
                        </div>
                    </div>
                    
                    <div class="filter-group">
                        <label class="filter-label">处理人员</label>
                        <select class="form-select">
                            <option value="">全部人员</option>
                            <option value="admin1">管理员 - 张三</option>
                            <option value="admin2">管理员 - 李四</option>
                            <option value="admin3">管理员 - 王五</option>
                        </select>
                    </div>
                </div>
                
                <button class="advanced-filter-toggle" id="advancedFilterToggle">
                    <i class="fas fa-sliders-h"></i> 高级筛选
                </button>
                
                <div class="advanced-filters" id="advancedFilters">
                    <div class="filter-row">
                        <div class="filter-group">
                            <label class="filter-label">举报来源</label>
                            <select class="form-select">
                                <option value="">全部来源</option>
                                <option value="user">用户举报</option>
                                <option value="system">系统检测</option>
                                <option value="admin">管理员发现</option>
                            </select>
                        </div>
                        
                        <div class="filter-group">
                            <label class="filter-label">涉及内容类型</label>
                            <select class="form-select">
                                <option value="">全部内容</option>
                                <option value="post">帖子</option>
                                <option value="comment">评论</option>
                                <option value="message">私信</option>
                                <option value="profile">个人资料</option>
                            </select>
                        </div>
                        
                        <div class="filter-group">
                            <label class="filter-label">举报热度</label>
                            <select class="form-select">
                                <option value="">全部热度</option>
                                <option value="high">高热度 (≥50人支持)</option>
                                <option value="medium">中热度 (10-49人支持)</option>
                                <option value="low">低热度 (<10人支持)</option>
                            </select>
                        </div>
                    </div>
                </div>
                
                <div class="filter-actions">
                    <button class="btn btn-sm btn-outline-secondary">重置筛选</button>
                    <button class="btn btn-sm btn-primary">应用筛选</button>
                </div>
            </div>
            
            <!-- 举报列表 -->
            <div class="report-list">
                <div class="report-item">
                    <div class="report-checkbox">
                        <input type="checkbox" class="form-check-input">
                    </div>
                    <img src="https://picsum.photos/100/100?random=1" alt="举报者头像" class="report-avatar">
                    <div class="report-info">
                        <div class="report-header">
                            <div class="report-title">举报用户发布垃圾广告信息</div>
                            <span class="report-type type-spam">垃圾信息</span>
                        </div>
                        <div class="report-meta">
                            <span>举报者: 张明</span>
                            <span>2小时前</span>
                            <span>涉及用户: user87621</span>
                            <span>浏览: 247</span>
                            <span>支持: 32</span>
                        </div>
                        <div class="report-desc text-muted text-sm">
                            该用户在多个帖子下发布相同的广告内容，包含可疑链接，疑似垃圾信息推广...
                        </div>
                    </div>
                    <span class="report-status status-pending">待处理</span>
                    <div class="report-actions">
                        <button class="action-btn" title="查看详情"><i class="fas fa-eye"></i></button>
                        <button class="action-btn" title="处理举报"><i class="fas fa-tools"></i></button>
                        <button class="action-btn" title="更多操作"><i class="fas fa-ellipsis-v"></i></button>
                    </div>
                </div>
                
                <div class="report-item">
                    <div class="report-checkbox">
                        <input type="checkbox" class="form-check-input">
                    </div>
                    <img src="https://picsum.photos/100/100?random=2" alt="举报者头像" class="report-avatar">
                    <div class="report-info">
                        <div class="report-header">
                            <div class="report-title">举报包含暴力元素的不当内容</div>
                            <span class="report-type type-inappropriate">不当内容</span>
                        </div>
                        <div class="report-meta">
                            <span>举报者: 李华</span>
                            <span>5小时前</span>
                            <span>涉及用户: user45678</span>
                            <span>浏览: 563</span>
                            <span>支持: 78</span>
                        </div>
                        <div class="report-desc text-muted text-sm">
                            该用户发布的图片包含不当内容，可能引起不适。图片中含有未经处理的暴力元素...
                        </div>
                    </div>
                    <span class="report-status status-processing">处理中</span>
                    <div class="report-actions">
                        <button class="action-btn" title="查看详情"><i class="fas fa-eye"></i></button>
                        <button class="action-btn" title="处理举报"><i class="fas fa-tools"></i></button>
                        <button class="action-btn" title="更多操作"><i class="fas fa-ellipsis-v"></i></button>
                    </div>
                </div>
                
                <div class="report-item">
                    <div class="report-checkbox">
                        <input type="checkbox" class="form-check-input">
                    </div>
                    <img src="https://picsum.photos/100/100?random=3" alt="举报者头像" class="report-avatar">
                    <div class="report-info">
                        <div class="report-header">
                            <div class="report-title">举报完全抄袭的侵权内容</div>
                            <span class="report-type type-plagiarism">抄袭内容</span>
                        </div>
                        <div class="report-meta">
                            <span>举报者: 王芳</span>
                            <span>昨天 14:30</span>
                            <span>涉及用户: user98732</span>
                            <span>浏览: 1256</span>
                            <span>支持: 124</span>
                        </div>
                        <div class="report-desc text-muted text-sm">
                            发现该用户发布的内容完全抄袭自其他平台作者，对比截图已上传，涉嫌侵权...
                        </div>
                    </div>
                    <span class="report-status status-resolved">已解决</span>
                    <div class="report-actions">
                        <button class="action-btn" title="查看详情"><i class="fas fa-eye"></i></button>
                        <button class="action-btn" title="查看处理记录"><i class="fas fa-history"></i></button>
                        <button class="action-btn" title="更多操作"><i class="fas fa-ellipsis-v"></i></button>
                    </div>
                </div>
                
                <div class="report-item">
                    <div class="report-checkbox">
                        <input type="checkbox" class="form-check-input">
                    </div>
                    <img src="https://picsum.photos/100/100?random=4" alt="举报者头像" class="report-avatar">
                    <div class="report-info">
                        <div class="report-header">
                            <div class="report-title">举报持续发送低俗信息的骚扰行为</div>
                            <span class="report-type type-harassment">骚扰行为</span>
                        </div>
                        <div class="report-meta">
                            <span>举报者: 赵伟</span>
                            <span>昨天 09:15</span>
                            <span>涉及用户: user23456</span>
                            <span>浏览: 782</span>
                            <span>支持: 87</span>
                        </div>
                        <div class="report-desc text-muted text-sm">
                            该用户多次发送骚扰信息，言语低俗，已多次警告但仍持续骚扰。已保留所有聊天记录...
                        </div>
                    </div>
                    <span class="report-status status-pending">待处理</span>
                    <div class="report-actions">
                        <button class="action-btn" title="查看详情"><i class="fas fa-eye"></i></button>
                        <button class="action-btn" title="处理举报"><i class="fas fa-tools"></i></button>
                        <button class="action-btn" title="更多操作"><i class="fas fa-ellipsis-v"></i></button>
                    </div>
                </div>
                
                <div class="report-item">
                    <div class="report-checkbox">
                        <input type="checkbox" class="form-check-input">
                    </div>
                    <img src="https://picsum.photos/100/100?random=5" alt="举报者头像" class="report-avatar">
                    <div class="report-info">
                        <div class="report-header">
                            <div class="report-title">举报产品宣传的虚假信息</div>
                            <span class="report-type type-fake">虚假信息</span>
                        </div>
                        <div class="report-meta">
                            <span>举报者: 刘强</span>
                            <span>2天前</span>
                            <span>涉及用户: user56789</span>
                            <span>浏览: 2347</span>
                            <span>支持: 215</span>
                        </div>
                        <div class="report-desc text-muted text-sm">
                            该用户发布的产品宣传图片与实际严重不符，夸大产品效果，误导消费者...
                        </div>
                    </div>
                    <span class="report-status status-rejected">已驳回</span>
                    <div class="report-actions">
                        <button class="action-btn" title="查看详情"><i class="fas fa-eye"></i></button>
                        <button class="action-btn" title="查看处理记录"><i class="fas fa-history"></i></button>
                        <button class="action-btn" title="更多操作"><i class="fas fa-ellipsis-v"></i></button>
                    </div>
                </div>
            </div>
            
            <!-- 分页 -->
            <nav class="mt-5" aria-label="Page navigation">
                <ul class="pagination justify-content-center">
                    <li class="page-item disabled">
                        <a class="page-link" href="#" tabindex="-1">上一页</a>
                    </li>
                    <li class="page-item active"><a class="page-link" href="#">1</a></li>
                    <li class="page-item"><a class="page-link" href="#">2</a></li>
                    <li class="page-item"><a class="page-link" href="#">3</a></li>
                    <li class="page-item"><a class="page-link" href="#">4</a></li>
                    <li class="page-item"><a class="page-link" href="#">5</a></li>
                    <li class="page-item">
                        <a class="page-link" href="#">下一页</a>
                    </li>
                </ul>
            </nav>
        </main>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 高级筛选切换
            const advancedToggle = document.getElementById('advancedFilterToggle');
            const advancedFilters = document.getElementById('advancedFilters');
            
            advancedToggle.addEventListener('click', function() {
                advancedFilters.classList.toggle('show');
                const icon = this.querySelector('i');
                if (advancedFilters.classList.contains('show')) {
                    this.innerHTML = '<i class="fas fa-chevron-up"></i> 收起高级筛选';
                } else {
                    this.innerHTML = '<i class="fas fa-sliders-h"></i> 高级筛选';
                }
            });
            
            // 模拟筛选功能
            const applyFilterBtn = document.querySelector('.filter-actions .btn-primary');
            applyFilterBtn.addEventListener('click', function() {
                showToast('筛选条件已应用，共找到 5 条符合条件的举报');
            });
            
            // 重置筛选
            const resetFilterBtn = document.querySelector('.filter-actions .btn-outline-secondary');
            resetFilterBtn.addEventListener('click', function() {
                document.querySelectorAll('select').forEach(select => {
                    select.selectedIndex = 0;
                });
                document.querySelectorAll('input[type="text"], input[type="date"]').forEach(input => {
                    input.value = '';
                });
                advancedFilters.classList.remove('show');
                advancedToggle.innerHTML = '<i class="fas fa-sliders-h"></i> 高级筛选';
                showToast('筛选条件已重置');
            });
            
            // 处理举报按钮
            const processButtons = document.querySelectorAll('.action-btn:has(.fas.fa-tools)');
            processButtons.forEach(btn => {
                btn.addEventListener('click', function() {
                    const reportItem = this.closest('.report-item');
                    const reportTitle = reportItem.querySelector('.report-title').textContent;
                    showToast(`开始处理举报: ${reportTitle}`);
                    
                    // 更新状态为处理中
                    const statusElement = reportItem.querySelector('.report-status');
                    statusElement.className = 'report-status status-processing';
                    statusElement.textContent = '处理中';
                });
            });
            
            // 查看详情按钮
            const viewButtons = document.querySelectorAll('.action-btn:has(.fas.fa-eye)');
            viewButtons.forEach(btn => {
                btn.addEventListener('click', function() {
                    const reportItem = this.closest('.report-item');
                    const reportTitle = reportItem.querySelector('.report-title').textContent;
                    alert(`查看举报详情: ${reportTitle}\n(实际应用中会打开详情页面)`);
                });
            });
            
          
            
        });
    </script>
</body>
</html>
    
